package com.ying.user.entity;

import java.io.Serializable;

/**
 * null
 */
public class MmRolePermissionKey implements Serializable {
    /**
     * 角色主键
     */
    private Long roleId;

    /**
     * 权限主键
     */
    private Long permissionId;

    /**
     * mm_role_permission
     */
    private static final long serialVersionUID = 1L;

    /**
     * 角色主键
     * @return role_id 角色主键
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * 角色主键
     * @param roleId 角色主键
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    /**
     * 权限主键
     * @return permission_id 权限主键
     */
    public Long getPermissionId() {
        return permissionId;
    }

    /**
     * 权限主键
     * @param permissionId 权限主键
     */
    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    /**
     *
     * @mbg.generated 2020-07-13
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", roleId=").append(roleId);
        sb.append(", permissionId=").append(permissionId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}